<template></template>
<script setup>
import { useRoute, useRouter } from 'vue-router'

// console.log('redirect')
const route = useRoute()
const router = useRouter()
const { params, query } = route
const { path } = params

router.replace({ path: '/' + path, query })
</script>
